package com.wolf.service;

import com.wolf.pojo.Wl_user_competence;

import java.util.List;

public interface Wl_user_competenceService {
    int deleteByPrimaryKey(String id);

    int insert(Wl_user_competence record);

    int insertSelective(Wl_user_competence record);

    Wl_user_competence selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Wl_user_competence record);

    int updateByPrimaryKey(Wl_user_competence record);

    /**
     * 查询所有权限
     * @return
     */
    List<Wl_user_competence> getAll();

    /**
     * 模糊查询
     * @return
     */
    List<Wl_user_competence> getSelective(String name, String code);
}